# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=logstalgia
pkgver=1.1.3
pkgrel=1
pkgdesc="A website access log visualisation tool"
url="https://logstalgia.io/"
arch="all"
license="GPL-3.0-or-later"
makedepends="pcre2-dev ftgl-dev sdl2-dev sdl2_image-dev
	libpng-dev jpeg-dev glew-dev boost-dev glm-dev freetype-dev"
subpackages="$pkgname-doc"
source="https://github.com/acaudwell/Logstalgia/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}
package() {
	make prefix=$pkgdir/usr install
}

sha512sums="
e159b39dbe308258af6ac1adf4362725480a3a0a5cf301684300e926765fb6aa06a66bd1df65e5f3ec52c406d253275ed51aa584b8ddfa063c6d31254b817773  logstalgia-1.1.3.tar.gz
"
